From: David Härdeman Date: Tue, 11 Nov 2025 12:08:22 +0000 (+0100) Subject: netlink: fix typo in debug msg X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=f13d2cecaebf8b1ec31692b74b63169a7548c1ea;p=project%2Fodhcpd.git netlink: fix typo in debug msg As noted by @CasperVector in #115, there's a typo in netlink.c, checking if true is true isn't very useful :) Signed-off-by: David Härdeman Link: https://github.com/openwrt/odhcpd/pull/305 Signed-off-by: Álvaro Fernández Rojas --- diff --git a/src/netlink.c b/src/netlink.c index 393678d..c612884 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -423,7 +423,7 @@ static int handle_rtm_neigh(struct nlmsghdr *hdr, bool add) if (iface->ifindex != ndm->ndm_ifindex) continue; - debug("Netlink %s %s on %s", true ? "newneigh" : "delneigh", + debug("Netlink %s %s on %s", add ? "newneigh" : "delneigh", buf, iface->name); event_info.iface = iface;